package com.suray.commin.exception;

/**
 * 6代车通讯失败
 */
public class Rgv60CommFailException extends RuntimeException {
    /**
     * 故障码
     */
    int code;

    /**
     * 故障内容
     */
    String message;

    public Rgv60CommFailException(int code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return message;
    }
}
